home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat 1997 April
/
macformat-049.iso
/
mac
/
Shareware Plus
/
Developers
/
dropg++
/
usr
/
include
/
scripts
/
vdump
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-02-20
|
285 b
|
13 lines
|
[
TEXT/R*ch
]
# @(#)vdump 8.1 (Berkeley) 6/10/93
#
# dump the vnode list
define dumpvnodes
set $vp = (struct vnode *)$arg0
while ($vp)
printf "vnode=0x%x freef=0x%x mountf=0x%x usecount=%d\n", $vp, $vp->v_freef, $vp->v_mountf, $vp->v_usecount
set $vp = (struct vnode *)$vp->v_freef
end
end